/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.bsa.soft.i18nparser;

import cz.bsa.soft.i18nparser.core.I18nProperty;
import java.io.FileNotFoundException;
import java.util.Set;

/**
 *
 * @author vdusa
 */
public class Main {
    /**
     * Only for testing purposes
     * @param args the command line arguments
     */
    public static void main(String[] args) throws FileNotFoundException {
        //Set<I18nProperty> properties = I18nPropertiesParser.getI18nProperties("SponsorshipController.groovy");
        //Set<I18nProperty> properties = I18nPropertiesParser.getI18nProperties("source.txt");
        Set<I18nProperty> properties = I18nPropertiesParser.getI18nProperties("selectInvited.gsp");

        for(I18nProperty property: properties){
            System.out.println(property.code + " (" + property.defaultValue + ")");
        }
    }
}
